module.exports = function (sequelize) {
    var model = sequelize.define("resType_", {
        "code": {type: sequelize.DataTypes.CHAR(1), primaryKey: true},
        "name": {
            type: sequelize.DataTypes.STRING(50),
            allowNull: false
        }
    }, {
        "tableName": "dict_restype"
    });
    model.initData = new Array();
    model.initData.push({code: "1", name: "菜单"});
    model.initData.push({code: "2", name: "按钮"});
};